import request from "@/utils/request";
/*
* 菜单栏api接口
* */

// 获取商品类型接口
export function getType() {
	return request({
		url: "/type",
		method: "GET"
	})
}


//根据商品类型获取商品接口
export function getTypeProducts(data) {
	return request({
		url: "/typeProducts",
		method: "GET",
		params: data
	})
}

export default {
	getTypeProducts,
	getType
}
